package com.test.day04.reader;

import java.io.FileWriter;
import java.io.IOException;

/**
 * @program: 写入多个字符
 * @author: luhd
 * @create: 2021-08-07
 */
public class Demo03Writer {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("d.txt");
        char [] cs = {'a','b','c','d','e'};
        fw.write(cs);
        fw.write("你好吗？");
        fw.close();
    }
}
